﻿using IMES.Entity;
using SqlSugar;

namespace IMES.BLL.Dtos
{
    public class UserDto:User
    {
        public string RoleName { get; set; }
    }

    public class UserRoleDto:RoleUser
    {
        public string RoleName { get; set;}
    }

    public class UserVO
    {
        public long Id { get; set; }
        /// <summary>
        /// 用户名 
        ///</summary>
        public string UserCode { get; set; }
        /// <summary>
        /// 姓名 
        ///</summary>
        public string UserName { get; set; }

        /// <summary>
        /// 手机号 
        ///</summary>
        public string Mobile { get; set; }
        /// <summary>
        /// 可用状态 
        ///</summary>
        public bool Usable { get; set; }
        /// <summary>
        /// 最后登录时间 
        ///</summary>
        public string LoginTime { get; set; }
        /// <summary>
        /// 最后登录IP 
        ///</summary>
        public string LoginIP { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string Creator { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
 
        public string RoleName { get; set; }
    }
}
